Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Add updateCountryCode function #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

AAkira
Copy link

@AAkira AAkira commented Dec 2, 2021

Country codes can be changed programmatically.

final key = GlobalKey<CountryCodePickerState>();
CountryCodePicker(
   key: key,
);

key.currentState.updateCountryCode(CountryCode.fromDialCode('+81'));

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant